package net.wanho.zaixian.cms.service;

import net.wanho.zaixian.pojo.cms.CmsTemplate;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface CmsTemplateService {

    List<CmsTemplate> getAllTemplate();

    CmsTemplate getTemplateById(String id);


    String templateUpload(Object obejct) throws UnsupportedEncodingException;

    /**
     * 将上传的文件信息添加到cmsTemplate表中
     */
    void insertCmsTemplate(CmsTemplate cmsTemplate);
}
